package com.ruoyi.common.core.enums;

public enum YesNoEnum implements BaseEnum<String,String>{
    YES("Y",1,"是"),
    NO("N",0,"否");
    private String code;
    private int numCode;
    private String name;
    private YesNoEnum(String code,int numCode,String name){
       this.code=code;
       this.numCode=numCode;
       this.name=name;
    }
    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getName() {
        return name;
    }
    public int getNumCode(){
        return numCode;
    }
}
